TapTree\WooCommerce\Gateway\TapTreePaymentGateway C

Total Complexity 116
Dependencies 12
Dependents 4
Total lines 957
Lines of code 591
Logical lines of code 309
Comment lines 121
Methods 38
Properties 8

Methods 38

Method Rating Maintainability Complexity Lines of code
getInstructions()
A
49 9 33
process_refund()
A
43 8 47
__construct()
A
42 7 51
updateImpactIfTotalsChanged()
A
53 8 22
displayInstructions()
S
48 6 38
processPaymentFromPayForOrder()
S
43 5 49
asciiDomainName()
S
57 7 15
getCartTotal()
S
54 6 21
process_payment()
S
48 5 33
idnEncodeDomain()
S
56 5 21
initModal()
S
51 4 27
isOrderPaid()
S
58 4 16
set_payment_description()
S
61 5 10
enqueueOrderPayScript()
S
52 3 24
thankyou_page()
S
59 3 15
getOrderRedirectUrl()
S
57 2 18
getImpact()
S
68 3 7
unsetActiveTapTreePayment()
S
66 2 9
isPaidByOtherGateway()
S
74 2 4
getImpactTitle()
S
67 2 7
getReturnUrl()
S
59 1 15
get_icon()
S
74 2 4
action_cart_calculate_totals()
S
69 2 7
getWebhookUrl()
S
59 1 14
orderDoesNotExistFailure()
S
61 1 14
appendOrderArgumentsToUrl()
S
64 1 11
isOrderPaidWithTapTree()
S
79 1 3
setCancelledTapTreePaymentId()
S
70 1 6
getActiveTapTreePaymentId()
S
75 1 4
setPaymentMethodIcon()
S
69 1 7
isTapTreeAvailable()
S
72 1 5
saveTapTreeInfo()
S
76 1 4
handleOrderPayPage()
S
82 1 3
init_form_fields()
S
80 1 3
setImpactTitle()
S
77 1 4
reportPaymentIntentCreateFailed()
S
67 1 7
reportPaymentIntentCreateSucceeded()
S
64 1 9
setOrderPaidWithTapTree()
S
76 1 4